home *** CD-ROM | disk | FTP | other *** search
/ Games of Daze / Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso / x2ftp / msdos / source / snip9503 / pi.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-03-14  |  121 b   |  7 lines

  1. #ifndef PI
  2.  #define PI         (4*atan(1))
  3. #endif
  4.  
  5. #define deg2rad(d) ((d)*PI/180)
  6. #define rad2deg(r) ((r)*180/PI)
  7.